package com.lxh.chainofresponsibility;

/**
 * 总经理
 * Create by lxh on 2020/2/15
 */
public class GeneralManager extends Manager{

    @Override
    public void request(Request request) {
        if (request.getNumber() < 15) {
            System.out.println("总经理批准");
        } else {
            System.out.println("总经理不批准");
        }
    }
}
